package com.evildog.workspace.system.application.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class RoleUpdateUiPermissionParam {

    @ApiModelProperty(value = "menu权限的id数组",required = true)
    @NotNull(message = "menu数组不能为空")
    private List<Long> menuPermissionIds;

    @ApiModelProperty(value = "component权限的id数组",required = true)
    @NotNull(message = "componentPermissionIds 不能为空")
    private List<Long> componentPermissionIds;

}
